package com.besttone.model;

/**
 * Created by chenping on 2017/9/6.
 */
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.jfinal.plugin.activerecord.Model;

import java.util.List;
public class FlashsmsUser extends Model<FlashsmsUser>{
    private static Log _log = LogFactory.getLog(FlashsmsUser.class);
    public static FlashsmsUser dao = new FlashsmsUser();

    public List<FlashsmsUser> getCntsByDay(String day_id) {
        String select = "select busi_type,increase_user,total_user,day_id from ta_flashsms_user_day where day_id="+day_id;
        List<FlashsmsUser> userlist=dao.use("osp").find(select);
        System.out.println("test");
        return userlist;
    }
}
